package cn.stylefeng.guns.modular.business.pojo;

import cn.stylefeng.guns.modular.business.enums.TrainingStatusEnum;
import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@TableName("training_record")
@Getter
@Setter
public class TrainingRecord extends BaseEntity {
    @TableId(
            value = "record_id",
            type = IdType.ASSIGN_ID
    )
    private Long recordId;

    @TableField("user_id")
    private Long userId;

    @TableField("real_name")
    private String realName;

    @TableField("nick_name")
    private String nickName;

    @TableField("account")
    private String account;

    @TableField("training_title")
    private String trainingTitle;

    @TableField("training_context")
    private String trainingContext;

    @TableField("status_flag")
    private TrainingStatusEnum statusFlag;
}